var rootpath="/myloan"

function refresh(imgCode)
{
	var $img=$("#"+imgCode);
	$img.attr("src",rootpath+"/imgCode.htm?now="+new Date());
	return false;
}

//封装变化分页信息的js
function altPage(adminListForm,adminListCurrentPage,targetPage)
{
	var targetElement=$("#"+adminListCurrentPage);
	targetElement.val(targetPage);
	var myForm=$("#"+adminListForm);
	
	//提交页数的变化信息
	myForm.submit();
	return false;
}